package com.yxy.dto;

import java.io.Serializable;


import javax.validation.constraints.*;


/**
 * SportModel 实体
 *
 * @author 邓文俊  2018-01-11 16:00:41
 */
public class SportModel  implements Serializable {
    private static final long serialVersionUID = 1001L;

    /**
     * 运动开始时间
     */
    private String sportStartDatetime;
    /**
     * 运动结束时间
     */
    private String sportEndDatetime;
    /**
     * create_time
     */
    private String createTime;
    /**
     * update_time
     */
    private String updateTime;
    /**
     * is_show_phone
     */
    private String phone;
    /**
     * del_flag
     */
    //无需验证
    private String delFlag;
    /**
     * id
     */
    //无需验证
    private String id;
    /**
     * 用户ID
     */
    private String pubUserId;
    /**
     * 实际参加人数
     */
    private String sportRealJoinPersonNum;
    /**
     * yxy_sport_extend4
     */
    private String yxySportExtend4;
    /**
     * 运动类型ID
     */
    @Pattern(regexp = "^-?\\d+$", message = "运动类型ID只能是数字", groups = {CreateSport.class, UpdateSport.class})

    private String pubSportTypeId;
    /**
     * 允许参加运动人数
     */
    @Pattern(regexp = "^-?\\d+$", message = "允许参加运动人数只能是数字", groups = {CreateSport.class, UpdateSport.class})

    private String sportAllowJoinPersonNum;
    /**
     * 运动的状态
     */
    private String pubSportStatus;
    /**
     * 运动标题
     */
    private String pubSportTitle;
    /**
     * 运动图片
     */
    private String pubSportImg;
    /**
     * 运动描述
     */
    private String pubSportDes;
    /**
     * 运动类型名称
     */
    private String pubSportTypeName;
    /**
     * 运动地点
     */
    private String pubSportPlace;
    /**
     * 更新人
     */
    //无需验证
    private String updateBy;
    /**
     * 创建人
     */
    //无需验证
    private String createBy;
    /**
     * yxy_sport_extend1
     */
    private String sportTypeImg;
    /**
     * 开始时间星期
     */
    private String sportStartWeek;
    /**
     * 结束时间星期
     */
    private String sportEndWeek;

    //讨论数
    private String discussNum;
    //浏览数
    private String browseNum;


    private String userFace;
    private String nickName;
    private String sex;

    private String ButtonText;

    private String joinUserId;

    private Integer sportFlag;//活动标识(0活动已结束,1人数已满,2我要参加,3取消参加)

    private String userPhone;//用户注册手机号

    private String userId;//用户Id

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getDiscussNum() {
        return discussNum;
    }

    public void setDiscussNum(String discussNum) {
        this.discussNum = discussNum;
    }

    public String getBrowseNum() {
        return browseNum;
    }

    public void setBrowseNum(String browseNum) {
        this.browseNum = browseNum;
    }

    public Integer getSportFlag() {
        return sportFlag;
    }

    public void setSportFlag(Integer sportFlag) {
        this.sportFlag = sportFlag;
    }

    public String getJoinUserId() {
        return joinUserId;
    }

    public void setJoinUserId(String joinUserId) {
        this.joinUserId = joinUserId;
    }

    public String getButtonText() {
        return ButtonText;
    }

    public void setButtonText(String buttonText) {
        ButtonText = buttonText;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getUserFace() {
        return userFace;
    }

    public void setUserFace(String userFace) {
        this.userFace = userFace;
    }



    public interface CreateSport {

    }

    public interface UpdateSport {

    }

    public void setSportStartDatetime(String sportStartDatetime) {
        this.sportStartDatetime = sportStartDatetime;
    }

    public String getSportStartDatetime() {
        return this.sportStartDatetime;
    }

    public void setSportEndDatetime(String sportEndDatetime) {
        this.sportEndDatetime = sportEndDatetime;
    }

    public String getSportEndDatetime() {
        return this.sportEndDatetime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getCreateTime() {
        return this.createTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateTime() {
        return this.updateTime;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPhone() {
        return this.phone;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return this.delFlag;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return this.id;
    }

    public void setPubUserId(String pubUserId) {
        this.pubUserId = pubUserId;
    }

    public String getPubUserId() {
        return this.pubUserId;
    }

    public void setSportRealJoinPersonNum(String sportRealJoinPersonNum) {
        this.sportRealJoinPersonNum = sportRealJoinPersonNum;
    }

    public String getSportRealJoinPersonNum() {
        return this.sportRealJoinPersonNum;
    }

    public void setYxySportExtend4(String yxySportExtend4) {
        this.yxySportExtend4 = yxySportExtend4;
    }

    public String getYxySportExtend4() {
        return this.yxySportExtend4;
    }

    public void setPubSportTypeId(String pubSportTypeId) {
        this.pubSportTypeId = pubSportTypeId;
    }

    public String getPubSportTypeId() {
        return this.pubSportTypeId;
    }

    public void setSportAllowJoinPersonNum(String sportAllowJoinPersonNum) {
        this.sportAllowJoinPersonNum = sportAllowJoinPersonNum;
    }

    public String getSportAllowJoinPersonNum() {
        return this.sportAllowJoinPersonNum;
    }

    public void setPubSportStatus(String pubSportStatus) {
        this.pubSportStatus = pubSportStatus;
    }

    public String getPubSportStatus() {
        return this.pubSportStatus;
    }

    public void setPubSportTitle(String pubSportTitle) {
        this.pubSportTitle = pubSportTitle;
    }

    public String getPubSportTitle() {
        return this.pubSportTitle;
    }

    public void setPubSportImg(String pubSportImg) {
        this.pubSportImg = pubSportImg;
    }

    public String getPubSportImg() {
        return this.pubSportImg;
    }

    public void setPubSportDes(String pubSportDes) {
        this.pubSportDes = pubSportDes;
    }

    public String getPubSportDes() {
        return this.pubSportDes;
    }

    public void setPubSportTypeName(String pubSportTypeName) {
        this.pubSportTypeName = pubSportTypeName;
    }

    public String getPubSportTypeName() {
        return this.pubSportTypeName;
    }

    public void setPubSportPlace(String pubSportPlace) {
        this.pubSportPlace = pubSportPlace;
    }

    public String getPubSportPlace() {
        return this.pubSportPlace;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public String getUpdateBy() {
        return this.updateBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getCreateBy() {
        return this.createBy;
    }

    public void setSportTypeImg(String sportTypeImg) {
        this.sportTypeImg = sportTypeImg;
    }

    public String getSportTypeImg() {
        return this.sportTypeImg;
    }

    public String getSportStartWeek() {
        return sportStartWeek;
    }

    public void setSportStartWeek(String sportStartWeek) {
        this.sportStartWeek = sportStartWeek;
    }

    public String getSportEndWeek() {
        return sportEndWeek;
    }

    public void setSportEndWeek(String sportEndWeek) {
        this.sportEndWeek = sportEndWeek;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("Sport{");
        sb.append("sportStartDatetime='").append(sportStartDatetime).append('\'');
        sb.append(",sportEndDatetime='").append(sportEndDatetime).append('\'');
        sb.append(",createTime='").append(createTime).append('\'');
        sb.append(",updateTime='").append(updateTime).append('\'');
        sb.append(",isShowPhone='").append(phone).append('\'');
        sb.append(",delFlag='").append(delFlag).append('\'');
        sb.append(",id='").append(id).append('\'');
        sb.append(",pubUserId='").append(pubUserId).append('\'');
        sb.append(",sportRealJoinPersonNum='").append(sportRealJoinPersonNum).append('\'');
        sb.append(",yxySportExtend4='").append(yxySportExtend4).append('\'');
        sb.append(",pubSportTypeId='").append(pubSportTypeId).append('\'');
        sb.append(",sportAllowJoinPersonNum='").append(sportAllowJoinPersonNum).append('\'');
        sb.append(",pubSportStatus='").append(pubSportStatus).append('\'');
        sb.append(",pubSportTitle='").append(pubSportTitle).append('\'');
        sb.append(",pubSportImg='").append(pubSportImg).append('\'');
        sb.append(",pubSportDes='").append(pubSportDes).append('\'');
        sb.append(",pubSportTypeName='").append(pubSportTypeName).append('\'');
        sb.append(",pubSportPlace='").append(pubSportPlace).append('\'');
        sb.append(",updateBy='").append(updateBy).append('\'');
        sb.append(",createBy='").append(createBy).append('\'');
        sb.append(",yxySportExtend1='").append(sportTypeImg).append('\'');
        sb.append(",sportEndWeek='").append(sportEndWeek).append('\'');
        sb.append(",sportStartWeek='").append(sportStartWeek).append('\'');
        sb.append('}');
        return sb.toString();
    }
}